<!DOCTYPE HTML>
<html>
  <head>
    <?php echo Yaf_View_Simple::render("header.phtml"); ?>
  </head>
  <body>
    <?php echo Yaf_View_Simple::render("menu.phtml"); ?>
    <div class="create">
      <div class="content">
        <form role="form" class="form-horizontal" id="beform" action="insert">
          <fieldset>
            <div class="form-group">
              <label class="col-lg-2 control-label" for="name">Name:</label>
              <div class="col-lg-4">
                <input type="email" name="name" class="form-control" id="name" />
              </div>
            </div>
            <div class="form-group">
              <label class="col-lg-2 control-label" for="password">Password</label>
              <div class="col-lg-4">
                <input type="text" name="password" class="form-control" id="password" />
              </div>
            </div>
          </fieldset>
          <div class="form-group">
            <label class="col-lg-2 control-label"></label>
            <div class="col-lg-6">
              <a  href="javascript:def.submit('#beform',null)" class="btn btn-primary">Submit</a>
            </div>  
          </div>
        </form>
      </div>
    </div>
    
    <!-- 模态框（Modal） -->
    <div class="modal fade" id="modal" tabindex="-1" role="dialog" aria-labelledby="modellabel" aria-hidden="true">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header bg-default">
            <div class="modal-title" id="modallabel">
              <h5 class="text-primary">Signal</h5>
            </div>
          </div>
          <div class="modal-body bg-primary">
            
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-default" data-dismiss="modal">Close
            </button>
          </div>
        </div><!-- /.modal-content -->
      </div><!-- /.modal -->
    </div>

    <?php echo Yaf_View_Simple::render("footer.phtml"); ?>
  </body>
</html>
